#pragma once


// COriginDlg dialog
using namespace ATL;

class COriginDlg : public CDialog
{
	DECLARE_DYNAMIC(COriginDlg)

public:
	COriginDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~COriginDlg();

	CImage m_image;
	void SetImage(CString pName);
	void SetImage(IplImage* pOrigin);

	// Dialog Data
	enum { IDD = IDD_ORIGINDLG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg LRESULT OnNcHitTest(CPoint point);
	virtual BOOL OnInitDialog();
};
